{extend name="../../admin/view/main"}

{block name="button"}
{/block}

{block name="content"}
<div class="layui-tab layui-tab-card">

    <div class="layui-tab-content">
        {include file='report/observation/index_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='nowrap'>时间</th>
                <th class='nowrap'>城市</th>
                <th class='nowrap'>对接数</th>
                <th class='nowrap'>完成数</th>
                <th class='nowrap'>未完成数目</th>
                <th class='nowrap'>当天转化率</th>
                <th class='nowrap'>当月转化率</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr {if $vo.city eq '合计' } style="background-color: antiquewhite" {/if}>
                <td class="nowrap"><div>{$vo.date}</div></td>
                <td class="nowrap"><div>{$vo.city}</div></td>
                <td class="nowrap"><div>{$vo.docking_count}</div></td>
                <td class="nowrap"><div>{$vo.paint_count}</div></td>
                <td class="nowrap"><div>{$vo.un_paint_count}</div></td>
                <td class="nowrap"><div>{$vo.day_rate}</div></td>
                <td class="nowrap"><div>{$vo.month_rate}</div></td>

            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>

{/block}